package top.xzxsrq.fileviewutils.mapper;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.xzxsrq.fileviewutils.entity.SysUser;

@Mapper
public interface SysUserMapper extends BaseMapper<SysUser> {
    int updatePasswordByUsername(@Param("password") String password, @Param("username") String username);

    SysUser selectOneByUsername(@Param("username") String username);

    int updateUserSysConfigByUserId(@Param("userSysConfig") String userSysConfig, @Param("userId") String userId);

    String selectUserSysConfigByUserId(@Param("userId") String userId);
}
